<template>
    <bi-input  v-model="value">
        <template #after>
            <bi-button  @click="showDialog">选择</bi-button>
        </template>
    </bi-input>
</template>


<script>
import fieldMixin from  '@@/admin/assets/bi-plug/fieldMixin.js';
import linkDialog from './link/dialog.vue';
export default {
    mixins:[fieldMixin],
    data(){
        return {
            title:''
        }
    },
    methods:{
        showDialog(){
            this.$dialog({
                type:'vue',
                content:admin.createApp(linkDialog),
                callback:(value,title)=>{
                    this.value = value;
                    this.title = title;
                }
            });
        }
    }
}
</script>


<style>
.shop-filed-link-desc{
    font-size: 14px;
    color: var(--bs-gray-500);
    padding-right: 10px;
}
</style>